const request = require('../../utils/request')

const login = {
  loginApi(data, ctx) {
    return request({
      url: '/gms/login',
      method: 'post',
      data,
    }, ctx);
  },

  userInfoApi(ctx) {
    return request({
      url: '/owner/ownerUser/test',
      method: 'get',
    }, ctx);
  },
};

module.exports = login;